package com.crm.service.statisticAnalysis.service;

import com.crm.model.common.dtos.ResponseResult;
import com.crm.model.statisticAnalysis.dtos.CluePageDTO;

import java.time.LocalDate;

public interface ClueService {
    /**
     * 线索分页查询
     * @param cluePageDTO
     * @return
     */
    ResponseResult cluePage(CluePageDTO cluePageDTO);

    /**
     * 线索统计折线图
     * @param begin
     * @param end
     * @return
     */
    ResponseResult clueLineChart(LocalDate begin, LocalDate end);

    /**
     * 线索统计漏斗图
     * @param queryTime
     * @return
     */
    ResponseResult clueDoughnutChart(LocalDate begin,LocalDate end);
}
